const commonConfig = require('./webpack.common.js');
const {merge} = require('webpack-merge');
const path =  require('path');

/**
 * @type {import('webpack').Configuration}
 */
let devConfig = {
    mode: 'development',
    devtool: 'cheap-module-source-map',
    devServer: {
        contentBase: ['dist', 'public']
    }
}

module.exports = merge(commonConfig, devConfig);